<template>
  <el-card shadow="never" style="border: none">
    <div slot="header">
      <span>附件</span>
    </div>

    <el-table v-loading="loading" :data="fileList">
      <el-table-column label="文件名称" prop="filename" />
      <el-table-column label="上传时间" prop="filename" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
          >查看</el-button>
        </template>
      </el-table-column>
    </el-table>
  </el-card>
</template>
<script>
export default {
  name: 'EventFiles',
  props: {
    id: {
      type: String,
      required: true
    }
  },
  data() {
    return {
      fileList: []
    }
  }
}
</script>
<style lang="scss" scoped>
</style>
